package com.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class Useraddmember implements Serializable {
    private Integer uamno;

    private String uno;

    private String mno;

    private Date adddate;

    private static final long serialVersionUID = 1L;

    public Integer getUamno() {
        return uamno;
    }

    public void setUamno(Integer uamno) {
        this.uamno = uamno;
    }

    public String getUno() {
        return uno;
    }

    public void setUno(String uno) {
        this.uno = uno;
    }

    public String getMno() {
        return mno;
    }

    public void setMno(String mno) {
        this.mno = mno;
    }

    public Date getAdddate() {
        return adddate;
    }

    public void setAdddate(Date adddate) {
        this.adddate = adddate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Useraddmember other = (Useraddmember) that;
        return (this.getUamno() == null ? other.getUamno() == null : this.getUamno().equals(other.getUamno()))
            && (this.getUno() == null ? other.getUno() == null : this.getUno().equals(other.getUno()))
            && (this.getMno() == null ? other.getMno() == null : this.getMno().equals(other.getMno()))
            && (this.getAdddate() == null ? other.getAdddate() == null : this.getAdddate().equals(other.getAdddate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getUamno() == null) ? 0 : getUamno().hashCode());
        result = prime * result + ((getUno() == null) ? 0 : getUno().hashCode());
        result = prime * result + ((getMno() == null) ? 0 : getMno().hashCode());
        result = prime * result + ((getAdddate() == null) ? 0 : getAdddate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", uamno=").append(uamno);
        sb.append(", uno=").append(uno);
        sb.append(", mno=").append(mno);
        sb.append(", adddate=").append(adddate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}